//
//  BaseModel.h
//  UI_19 视图切换
//
//  Created by leilei on 16/3/8.
//  Copyright © 2016年 www.lei.com. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface BaseModel : NSObject

// 五.基类
- (instancetype)initWithDic: (NSDictionary *)dic;

//五.在创建一个方法
+ (instancetype)modelWithDic: (NSDictionary *)dic;

//六.转化方法: 数组 + 字典 -> 数组 + model
+ (NSMutableArray *)transformWithArray: (NSArray *)arr;



@end
